<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    request.setAttribute("basePath", basePath);
%>
<%@ include file="/resources/js/easyui/taglibs.jsp" %>
<%@ include file="/resources/js/wechat/_wechatui.jsp" %>
<%@ include file="/resources/js/easyui/_viewJS.jsp" %>
<!DOCTYPE>
<html>
<head>

    <title>子账户信息</title>
</head>
<body>
<div class="loading"></div>
<!-- header -->
<header>
    <a href="javascript:history.go(-1);" class="top_fh">子账户信息</a>
</header>
<!-- header end -->

<div class="page nb_page">
    <div class="my_zzhinner">
        <ul>
            <c:forEach items="${childUserGroups}" var="childUserGroup" varStatus="Status">

                <li><a class="usergroup" id="${childUserGroup.userGroupid}" name="${childUserGroup.textCN}" href="javascript:void(0);" >${childUserGroup.textCN}</a></li>

            </c:forEach>
        </ul>
        <div class="zzh_sm">
            <em>说明</em>
            <p>1.财务角色只能查看账目，不能访问场地、套餐、我的页面。</p>
            <p>2.机修角色只可以查看场地、套餐，不能访问账目、我的页面。</p>
            <p>3.机修兼财务角色是全部都可以查看与修改，没有提现功能。</p>
            <p>（如：登陆后，无法点击我的页面。）</p>
        </div>
    </div>
</div>
</body>
</html>
<script>

    /*按日期查询账目*/
    $(".usergroup").click(function () {
        var roleid = $(this).attr("id");
        var userGroupName = $(this).attr("name");
        window.location.href = "${basePath}wechat/indivdual/"+roleid+"/showchilduserinfo?UserGroup="+encodeURI(encodeURI(userGroupName));
    });

</script>